'use strict';

const Controller = require('egg').Controller;
const getUUID = require('../utils/uuid')
class HomeController extends Controller {
  async index() {
    const { ctx } = this;
    ctx.body = getUUID();
    throw new Error('首页错误')
  }
}

module.exports = HomeController;
